const modules = import.meta.glob('../../assets/icons/svg/*.svg', { eager: true })
const re = /\.*\/svg\/(.*)\.svg/
const icons = Object.keys(modules).map((key: string): any => {
  const regexp = key.match(re)
  if (regexp !== null) {
    return regexp[1]
  }
})
export default icons
